import App from './App'
import store from './store'
import https from './request'
Vue.prototype.$store = store
Vue.prototype.$https = https
// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";
Vue.config.productionTip = false
App.mpType = 'app'
import VueCompositionApi from '@vue/composition-api'

Vue.use(VueCompositionApi)
Vue.use(uView);

const app = new Vue({
	...App,
	store // 挂载实例对象
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app,
		store // 挂载实例对象
	}
}
// #endif